package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.domain.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author chenliang
 * @description 针对表【tb_shop】的数据库操作Mapper
 * @createDate 2024-06-19 20:03:56
 * @Entity com.example.domain.Shop
 */
@Mapper
public interface ShopMapper extends BaseMapper<Shop> {
    @Select("SELECT id FROM tb_shop")
    List<Long> selectAllIds();
}




